/**
 * @file bluetooth.h
 * @brief 
 * @author Linfu Wei (ghowoght@qq.com)
 * @version 1.0
 * @date 2021-01-02
 * 
 * @copyright Copyright (c) 2021  WHU-EIS
 * 
 */
#ifndef _BLUETOOTH_H_
#define _BLUETOOTH_H_
#include "sys.h"

extern uint8_t bluetooth_data_receive[100];
extern uint8_t bluetooth_data_one_byte[1];

extern uint8_t start_flag ;
extern uint8_t getmedicine_flag ;
extern uint8_t meet_flag ;

void Bluetooth_GetOneByte(u8 data);

void Bluetooth_DataDecoder(u8 *data);

void CarDataTrans();

#endif
